using System.Collections.Generic;
using UnityEngine;

public class MapEditor : MonoBehaviour
{
	public GameObject obstacleDemo;

	private Transform obstaclesTrans;

	private Vector3 downPos;

	private Vector3 upPos;

	private Dictionary<string, GameObject> obstacles;

	private void Start()
	{
	}

	private void Update()
	{
		if (Input.GetKey(KeyCode.LeftArrow))
		{
			Camera.main.transform.position -= new Vector3(2f * Time.deltaTime, 0f, 0f);
		}
		else if (Input.GetKey(KeyCode.RightArrow))
		{
			Camera.main.transform.position += new Vector3(2f * Time.deltaTime, 0f, 0f);
		}
		else if (Input.GetKey(KeyCode.UpArrow))
		{
			Camera.main.transform.position += new Vector3(0f, 2f * Time.deltaTime, 0f);
		}
		else if (Input.GetKey(KeyCode.DownArrow))
		{
			Camera.main.transform.position -= new Vector3(0f, 2f * Time.deltaTime, 0f);
		}
	}
}
